diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/esg-check-list/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/esg-check-list/page.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/esg-check-list/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/esg-check-list/page.tsx index a573c77b..4575e65b 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/esg-check-list/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/esg-check-list/page.tsx @@ -9,14 +9,18 @@ import { getEsgEvaluations } from "@/lib/esg-check-list/service" import { getEsgEvaluationsSchema } from "@/lib/esg-check-list/validation" import { EsgEvaluationsTable } from "@/lib/esg-check-list/table/esg-table" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" interface IndexPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = getEsgEvaluationsSchema.parse(searchParams) + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) @@ -35,7 +39,7 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - ESG 자가진단평가서 항목 관리 + {t('menu.master_data.esg_checklist')} </h2> <InformationButton pagePath="evcp/esg-check-list" /> </div> |
